package cn.yanghan;

import cn.yanghan.domian.AliyunossProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigurationProperties(AliyunossProperties.class)
@EnableCaching //启用spring caceh缓存
public class CommonStart4040 {
    public static void main(String[] args) {
        SpringApplication.run(CommonStart4040.class,args);
    }
}
